package cn.flexui.flexuiserver.common.convert;

import cn.flexui.flexuiserver.domain.entity.SessionRecord;
import cn.flexui.flexuiserver.domain.vo.SessionRecordVO;
import org.mapstruct.Mapper;
import org.mapstruct.MappingConstants;

import java.util.List;

/**
 * @author wanmingyu
 * @create 2024/9/25 15:51
 */
@Mapper(componentModel = MappingConstants.ComponentModel.SPRING)
public interface SessionRecordConvert {


    SessionRecordVO toVO(SessionRecord sessionRecord);
    List<SessionRecordVO> toVOList(List<SessionRecord> sessionRecords);
}
